package com.colorfruit.admin.pojo.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayBusinessOrder {
    private Long id;

    private Long globalControlId;

    private Byte recordStatus;
    private Byte distributeStatus;
    /**
     * 业务订单号
     */
    private String businessOrderNo;
    /**
     * 地址类型 1 个人地址 2拣货点地址
     */
    private Byte addressType;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 收货地址ID
     */
    private Long receiveAddressId;
    /**
     * 拣货点地址ID
     */
    private Long distributeAddressId;
    /**
     * 总计销售价最大值
     */
    private BigDecimal totalSaleMaxAmount;
    /**
     * 总计销售价最小值
     */
    private BigDecimal totalSaleMinAmount;
    /**
     * 总计产品数量
     */
    private Integer totalProductNum;
    /**
     * 配送费
     */
    private BigDecimal distributeFee = new BigDecimal(0);
    /**
     * 总费用
     */
    private BigDecimal totalFee;

    private String outerLogicName;

    private String outerLogicNum;

    private BigDecimal outerLogicPrice;

    private Date createTime;

    private Date updateTime;

    private Date distributeTime;

    private Date signTime;
    /**
     * 收件人电话
     */
    private String phone;
    /**
     * 收件人姓名
     */
    private String userName;
    /**
     * 外部物流信息
     */
    private String logicPicture;

}